// 顶部导航
#topbar{
    height: 28px;
    line-height: 28px;
    background: #f2f2f2;
    color: #666;

         .topbar-left {
            float: left;

            a{
                display: inline-block;
                padding: 0 5px;
            }
        }

         .topbar-right {
            float: right;
            margin-right: 100px;

            a{
                display: inline-block;
                padding: 0 5px;
            }

            a:hover{
                color:#979797;
                text-shadow: 2px 2px 1px 1px;
            }
        }    
}
// 头部信息栏
#header{
    padding: 24px 0 16px 0;
    background: #fff;
    display: flex;
    justify-content: space-evenly;

    .logo img{
        margin-left: 10px;
        max-width: 215px;
        max-height: 90px;
    }

    form{
        margin: 20px 20px 0 0;
        display: block;

        .searchCon{
            float: left;
            width: 450px;
            height: 25px;
            line-height: 25px;
            padding: 5px;
            border: 1px solid #c81623;
            border-radius: 0;
        }

        .searchBtn{
            display: inline-block;
            width: 100px;
            height: 37px;
            line-height: 37px;
            background: #ea2329;
            color: #fff;
            font-size: 14px;
            text-align: center;
        }
    }

    .lookGoodsCar{
        margin: 20px 10px 0 0;
        width: 130px;
        height: 37px;
        background-color: #ea2329;
        line-height: 37px;
        color: #fff;
        font-size: 14px;
        text-align: center;
    }
}
// 页面导航栏
.nav{
    height: 40px;
    line-height: 40px;
    
        .nav-left{
            float: left;
            width: 223px;
            position: relative;

            .goodsType{
                width: 100%;
                height: 40px;
                text-align: center;
                background: #008FD5;
                color: white;
                font-size: 14px;
            }

    }
    .nav-main{
        float: left;
        display: flex;
        margin-left: 2px;

        a{
            display: inline block;
            width: 120px;
            height: 40px;
            color: #000;
            font-size: 14px;
            line-height: 40px;text-align: center;
        }

        a:hover{
            background-color: #ea2329;
            color: white;
        }
    }
}
// 商品列表区
.main{
    overflow: hidden;
    padding-bottom: 40px;
    position: relative;
    .main-lg{
        
        .bread-nav {
            background-color: #f7f7f5;
            margin:30px 0 20px 0;
            color: #8c8c8c;
            line-height: 100px;
            width: 1920PX;
            MARGIN-LEFT: -300PX;
            PADDING-LEFT: 300PX;

            a {
                font-weight: 600;
                font-size: 16px;
                color: #333333;
            }
        }

        .sort-box{
            margin-bottom: 10px;

            .sortBar {
                padding: 5px 10px;
                line-height: 34px;
                color: #333333;
                background: #e8e8e8;
                border-radius: 50px;

                .left {
                    float: left;
                    margin-left: 25px;

                    .orderCol{
                        display: inline-block;
                        
                        line-height: 33px;
                        text-align: center;
                        background-color: white;
                        color: #666;
                    }
                    .orderCol:hover{
                        background-color: #D62528;
                        color: white;
                    }

                    label{
                        margin-left: 20px;
                        
                        input{
                            height: 12px;
                        }
                    }

                    .showNumBox{
                        float: right;
                        margin-left: 600px;
                       
                        select{
                            vertical-align: middle;
                            height: 30px;
                            padding: 0 5px;
                            border-radius: 10px;
                            color: #666;
                        }
                    }
                }

                .right {
                    float: right;
                    margin-right: 25px;

                    .num{
                        margin-left: 15px;

                        em{
                            color: #d62528;
                            font-style: normal;
                        }
                    }
                }
            }
        }

        ul{
            margin-top: 40px;

            li{
                border-radius: 3px 3px 3px 3px;
                display: block;
                float: left;
                width: 220px;
                height: 300px;
                background: rgba(255, 255, 255, 1);
                margin: 0 0 10px 10px;
                position: relative;
               
                img{
                    width: 170px;
                    height: 170px;
                    margin:30px 0 0 25px;
                }

                .addToCar{
                    width: 100%;
                    height: 40px;
                    background-color: #333;
                    color: white;
                    font-size: 14px;
                    line-height: 40px;
                    text-align: center;
                    position: absolute;
                    top: 56%;
                    z-index: 100;
                    opacity: 0%;
                }
                .addToCar:hover{
                    background-color: #d62528;
                    opacity: 100%;
                }

                .goodsTitle{
                    text-align: center;
                    margin-top: 10px;
                    font-size: 14px;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

                .price{
                    font-size: 16px;
                    font-weight: 500;
                    color:#cc0000;
                    text-align: center;
                    position: absolute;
                    top: 265px;
                    left: 10%;
                }
            }

            li:hover{ 
                box-shadow:0px 0px 2px 2px rgb(196, 180, 180);
                .addToCar{
                   opacity: 85%;
                }
            }
        }

        .pager{     
            z-index: 100;
            position: absolute;
            height: 50px;
            bottom: -20px;
            left: 45%;

                .over{
                    float: right;
                }

                .flip{
                    display: inline-block;
                    width: 25px;
                    color: red;
                    line-height: 25px;
                    text-align: center;
                    background-color: white;
                    border: 1px solid rgb(220, 214, 214);

                    i{
                        font-size: 15px;
                        font-style: normal;
                        font-weight: 700;
                    }
                }

                .pageTips{
                    width: 110px;
                    line-height: 25px;
                    text-align: center;
                    font-size: 14px;
                }
                .flip:hover{
                    background-color: #E22335;
                    color: white;
                } 
        }
    }
}
// 底部导航与版权
.footer{
    margin-top: 70px;
    .footer-text{
        margin-top: 20px;
        margin-bottom: 30px;
        color: gray;
        
        span{
            color:#1766DD
        }
        img{
            margin-left: 6px;
            width: 26px;
            height: 36px;
        }
    }
    
    .copyright{
        margin:20px 0 0 576px;
        color: gray;
        
        span{
            color:#1766DD
        }
    }
}
